<template>
  <div class="min-h-screen flex items-center justify-center text-white" style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);">
    正在前往后台管理...
  </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue'

onMounted(() => {
  const targetUrl = (import.meta as any).env?.VITE_ADMIN_URL || 'http://localhost:5174/'
  try {
    window.location.replace(targetUrl)
  } catch {
    window.location.href = targetUrl
  }
})
</script>

